<script lang="ts" setup>
	interface IProps {
		price: number;
	}
	
	defineOptions({
		name: 'DetailPrice'
	});

	const props = defineProps<IProps>();
</script>

<template>
	<div class="price-bd">
		<span class="iconfont icon-price"></span>
		<span class="price">￥{{ props.price || 0 }}元起</span>
	</div>
</template>

<style lang="scss" scoped>
	@import '../../../../assets/styles/variables.scss';

	.price-bd {
		display: flex;
		height: .44rem;
		padding: .03rem .15rem 0;
		background-color: #fff;
		border-bottom: 1px solid #ddd;
		box-sizing: border-box;

		.icon-price {
			font-size: .18rem;
			margin: .08rem .1rem 0 0;
			color: #000;
		}

		.price {
			font-size: .16rem;
			margin-top: .1rem;
			color: $defaultOrange;
		}
	}
</style>